package com.ruoyi.riskrule.mapper;


import com.ruoyi.bizsys.domain.CustomerInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 *
 * @author cyh
 */
@Mapper
public interface RiskCustomerMapper {

    /**
     * 更新客户征信有效期
     * @param userId
     * @param expiryDate
     * @return
     */
    int updateExpiryDate(CustomerInfo customerInfo);

    String getExpiryDateByUserId(@Param("userId")String userId);
}
